import request from '@/utils/request'

// 查询提醒设置列表
export function listMsgReminderSetting(query) {
  return request({
    url: '/reminder/msgReminderSetting/list',
    method: 'get',
    params: query
  })
}

// 查询提醒设置详细
export function getMsgReminderSetting(id) {
  return request({
    url: '/reminder/msgReminderSetting/' + id,
    method: 'get'
  })
}

// 保存提醒设置
export function saveMsgReminderSetting(data) {
  return request({
    url: '/reminder/msgReminderSetting/save',
    method: 'post',
    data: data
  })
}

// 删除提醒设置
export function delMsgReminderSetting(id) {
  return request({
    url: '/reminder/msgReminderSetting/' + id,
    method: 'delete'
  })
}

// 导出提醒设置
export function exportMsgReminderSetting(query) {
  return request({
    url: '/reminder/msgReminderSetting/export',
    method: 'get',
    params: query
  })
}

// 修改提醒状态
export function updateStatus(params) {
  return request({
    url: '/reminder/msgReminderSetting/updateStatus/' + params.id,
    method: 'get',
    params: params
  })
}
